[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
{r}{\lastpagenumber} and \at[\Reference]–\at[\lastpagenumber] work properly in the body text. The overall structure is project-product sort with many components in the product. This is probably TMI. The bottom line is that I am truly stumped. All best, Alan On Wed, Apr 3, 2024 at 6:56 AM Bruce

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Gavin via ntg-context
Hi Shiv, ConTeXt’s project structure has many benefits. One is speed. See https://wiki.contextgarden.net/Project_structure. My books and long papers are products, each containing many components (chapters or sections). When I’m working, I have both the product and a component open. I

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Bruce Horrocks
Xt book setup causes a different handling of these > externalfigures – but a small example with the same environments worked. Whenever I've had odd results like this it's been the result of an accumulation of 'small' errors. For example, I once had a missing } in a macro in an environment file. For what

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
ow. The 9 elements of the grid will be - such a diagram that explains the building blocks / general workflow – the diagram of the layout areas – the project structure (environment, product, component) – some examples of code and results I wanted to use the “christmas card” squares for borders around and

[NTG-context] Re: Metapost docs

2024-01-11 Thread Shiv Shankar Dayal
or \startMPpage…\stopMPpage, so that it can be typeset > as-is. > > If you want to do 3D, you may want to get Lua involved for calculations. I > use > > - Programming in LuaTeX page on the wiki ( > https://wiki.contextgarden.net/Programming_in_LuaTeX) > - Programming in Lua, 4t

[NTG-context] Re: Metapost docs

2024-01-11 Thread Gavin via ntg-context
(https://www.amazon.com/gp/product/8590379868) If you provide an example of what you hope to accomplish with MetaPost, we might have more specific recommendations. Below are two graphs that I made in TikZ, which I hope to convert to MetaPost (actually LMTX). These are from my chapter

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context: Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi, On Tue, Jan 9, 2024 at 2:45 PM G.C.H.M. Verhaag via ntg-context wrote: > > Hi, > The example below works as expected, but within my product it doesn't. > > % Subject example before and after! > > \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[no

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}] \starttext A paragraph before calling the subject. \subject

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
solution. This adventure started with the usual insidious idea: "I could do this in ConTeXt! And this is a great opportunity to learn metafun!" A couple weeks later, I have an almost ready product! It compiles fine, but I have the following issue: The template creates a Line, composed o

[NTG-context] Problem with dataset not being populated

2023-11-14 Thread Bruce Horrocks
I produce a small magazine where the source files are organised into a product and component structure. For each issue, I have a main file with \startproduct and then, inside that, several \component[filename] statements, one per article. Each article starts in a standard way, including

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Jeong Dal via ntg-context
Dear Hraban, When I wrote a class material for Linear Algebra, it is nice to use \pmatrix and \bmatrix etc. But, for example, to write a result matrix of the product of two matrices, I need to calculate it somewhere and copy it to my text. Hence, I tried to use Lua to handle it in the ConTeXt

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
method: \showpageprogress % [all] %resetforcedbreak \starttext \registerforcedbreak[8][before] \dorecurse{10}{\samplefile{tufte}\par} \page \resetforcedbreak \registerforcedbreak[12][after] \dorecurse{10}{\samplefile{tufte}\par} \stoptext (by-product of some new mechanisms t

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
e after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter.

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
lps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter. I solved the problem by rather using: \definemake

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
, \placelist [part,chapter,section,subsection] [criterium=product,reference=VolumeII] will include the TOC of VolumeII in product VolumeI. Once we have this figured-out, I will have to create a wiki page. Alan On Fri, 24 Feb 2023 05:43:01 + (UTC) Joel via ntg-context wrote

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
es if I compile one > > component only. The references to formulas in other components have > > wrong prefixes, e.g. (2.1) instead of (3.1). Needless to say, the right > > formula references are very important. > > > > I started looking into this issue. The references

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
into this issue. The references to other components are taken from the whole product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a sequential

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
I, too, am struggling with external (and internal) references. I have created (and sent to Hans) a MWE that seems to identify two bugs: 1) External references: in a single product, some of these work, and *some* do not render the numbers (using \in{} [ref], for example). They are, however

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a sequential number of the header in the document. As a result, the prefix from the external

Re: [NTG-context] Command line arguments on context project

2022-12-19 Thread Wolfgang Schuster via ntg-context
Aditya Mahajan via ntg-context schrieb am 19.12.2022 um 16:01: On Sun, 18 Dec 2022, Alan Braslau via ntg-context wrote: On Fri, 16 Dec 2022 16:14:33 + Jethro Djan via ntg-context wrote: 2. How do I get CoTeXt to recognise the ref.bib file when I run the components not the product

Re: [NTG-context] Command line arguments on context project

2022-12-19 Thread Aditya Mahajan via ntg-context
On Sun, 18 Dec 2022, Alan Braslau via ntg-context wrote: > On Fri, 16 Dec 2022 16:14:33 + > Jethro Djan via ntg-context wrote: > > > 2. How do I get CoTeXt to recognise the ref.bib file when I run the > > components not the product? > > > > For context, I

Re: [NTG-context] Command line arguments on context project

2022-12-18 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 16:14:33 + Jethro Djan via ntg-context wrote: > 2. How do I get CoTeXt to recognise the ref.bib file when I run the > components not the product? > > For context, I don’t want the references printed at the end of each > chapter but I would like the i

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
lume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber   [part] [2] \setupheadnumber   [chapter] [5] (I have multiple [5] parts in the project, and the first volume ends with part 2 and chapter 5.)

Re: [NTG-context] Command line arguments on context project

2022-12-16 Thread Wolfgang Schuster via ntg-context
: tex error on line 5 in file /usr/local/texlive/2022/texmf-dist/doc/latex/buctthesis/chapter1.tex: ! Undefined control sequence How do you load the chapter file in your product file? The error message above appears because ConTeXt can't find the chapter file of your document and uses one

[NTG-context] Command line arguments on context project

2022-12-16 Thread Jethro Djan via ntg-context
line 5 in file /usr/local/texlive/2022/texmf-dist/doc/latex/buctthesis/chapter1.tex: ! Undefined control sequence 2. How do I get CoTeXt to recognise the ref.bib file when I run the components not the product? For context, I don’t want the references printed at the end of each chapter but I woul

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
; Cc: Alan Braslau > Betreff: [NTG-context] Structure: multi-volume products > > Hello, > > I have a book project that is being cut into two volumes (because it is too > long and will be sold as a boxed set). > > Each volume is presently a separate *product* in the project

[NTG-context] Structure: multi-volume products

2022-12-15 Thread Alan Braslau via ntg-context
Hello, I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set). Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber [part] [2

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Hans Hagen via ntg-context
\mathboxanchored and \connectboxanchors to my MetaPost code. Here is the code for the connectors: \startMPpositiongraphic{mypos:contract} path pa, pb, pab ; numeric na, nb ; string ta, tb, hand, product ; ta := mpvars("from") ; tb := mpvars("to") ; stemshiftfrom := (EmWidth/

[NTG-context] Mathematical MetaFun Mania

2022-12-14 Thread Gavin via ntg-context
is the code for the connectors: \startMPpositiongraphic{mypos:contract} path pa, pb, pab ; numeric na, nb ; string ta, tb, hand, product ; ta := mpvars("from") ; tb := mpvars("to") ; stemshiftfrom := (EmWidth/8)*mpvarn("startstem") ; stemshiftto := (EmWidth/

Re: [NTG-context] synctex problem

2022-10-15 Thread Gavin via ntg-context
ons are out of line. > > When I have these lines at the top of a component file and typeset the > product file, I get a rootfile.synctex file, but syncing itself goes awry. > Nothing happens when I sync from the PDf file to the component file, and when > I sync from the component file

[NTG-context] synctex problem

2022-10-15 Thread Alan Bowen via ntg-context
between method =min and method=max, both highlight only a few words and not the entire text to be synced, but perhaps my expectations are out of line. When I have these lines at the top of a component file and typeset the product file, I get a rootfile.synctex file, but syncing itself goes awry. Nothing

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Pablo Rodriguez via ntg-context
ces to produce a > complete product, shouldn't it be convenient for this option to be the > default? Well, that is probably too much to say (I mean, that "--luatex" generates more accurate PDF documents). What you are experiencing might be a pretty extreme case. And you are taking for

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Hans Hagen via ntg-context
ompiled PDF document. I think that this PDF document will be fine with your printer. It was.  I printed it this morning without any problem.  Thank you! If compiling with --luatex option seem to have more chances to produce a complete product, shouldn't it be convenient for this option to be t

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Angel M Alganza via ntg-context
ne with your printer. It was. I printed it this morning without any problem. Thank you! If compiling with --luatex option seem to have more chances to produce a complete product, shouldn't it be convenient for this option to be the default? I would expect 'context file.tex' to work "ou

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Bruce Horrocks via ntg-context
ld be typeset more like a single number, rather than like a > product of 3.00 and 10^8. I am probably in the minority here. If \unit and > \digit had an option for tighter spacing around the \times, I’d use it, but > the current output with more space is probably what most people expect

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
I think that the tighter spacing in >> the first one, in text, is correct. >> I personally would also like less space around the \times. To me, the number >> 3.00e8 should be typeset more like a single number, rather than like a >> product of 3.00 and 10^8. I am probably

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
the \unit command is in text or math mode. I think that the tighter spacing in the first one, in text, is correct. I personally would also like less space around the \times. To me, the number 3.00e8 should be typeset more like a single number, rather than like a product of 3.00 and 10^8. I am probably

[NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
that the tighter spacing in the first one, in text, is correct. I personally would also like less space around the \times. To me, the number 3.00e8 should be typeset more like a single number, rather than like a product of 3.00 and 10^8. I am probably in the minority here. If \unit and \digit had

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
me. > > > > Cheers, k > > > > > > %%% START of MWE > > > > \definehead[VisiSection][section] > > \setuphead[VisiSection][number=no] > > > > \definehead[InvisiSection][VisiSection] > > \setuphead[InvisiSection][placehead=no]

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
=no] \definelist[CustomBMarks] \setupinteraction[state=start] \placebookmarks[VisiSection,InvisiSection,CustomBMarks] \startcomponent * % not a product, no   \startVisiSection[title={Custom Section A}]     Text of Custom Section A   \stopVisiSection   \page   \startVisiSection[title={Custom

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
] \placebookmarks[VisiSection,InvisiSection,CustomBMarks] \startcomponent * % not a product, no \startVisiSection[title={Custom Section A}] Text of Custom Section A \stopVisiSection \page \startVisiSection[title={Custom Section B}] Text of Custom Section B \stopVisiSection \startInvisiSection

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
On 7/20/2022 9:40 PM, Bruce Horrocks via ntg-context wrote: On 20 Jul 2022, at 05:31, Michael Urban via ntg-context wrote: Aside from purchasing a real font product from Linotype at enormous expense and hoping it is better equipped, is there a way to coerce ConTeXt into using

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
> On 20 Jul 2022, at 05:31, Michael Urban via ntg-context > wrote: > > Aside from purchasing a real font product from Linotype at enormous expense > and hoping it is better equipped, is there a way to coerce ConTeXt into using > the ligature glyphs for fi and fl? Yes - I

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Hans Hagen via ntg-context
a real font product from Linotype at enormous expense and hoping it is better equipped, is there a way to coerce ConTeXt into using the ligature glyphs for fi and fl? you can define your own ligature feature (examples in test suite and elsewhere) but personally i'd not spend money on a font

[NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-19 Thread Michael Urban via ntg-context
I downloaded something that purports to be Century Expanded from fontsgeek.com. Although the font has fi and fl ligature glyphs, it does not have a ligature font feature and ConTeXt does not use those glyphs. Aside from purchasing a real font product from Linotype at enormous expense

Re: [NTG-context] lmtx installation paths not working

2022-06-17 Thread Jano Kula via ntg-context
> > > > Do you have an idea how to fix problem? > > I will be thankful for an advice, it is quite urgent (everything was > working yesterday). > > Do you have an anti-virus product installed? > > In the past I've noticed that Symantec sometimes gives

Re: [NTG-context] lmtx installation paths not working

2022-06-15 Thread Bruce Horrocks via ntg-context
> On 14 Jun 2022, at 12:20, Jano Kula via ntg-context > wrote: > > Do you have an idea how to fix problem? > I will be thankful for an advice, it is quite urgent (everything was working > yesterday). Do you have an anti-virus product installed? In the past I've not

[NTG-context] Issue in btx rendering

2022-05-04 Thread śrīrāma via ntg-context
d}, doi = {10.2307/1428011}, issn= {0001-8678, 1475-6064}, journal = {Advances in Applied Probability}, month = {Jun}, number = {2}, pages = {429--443}, title = {Integral Probability Metrics and Their Generating Classes of Functions}, url = {https://www.cambridge.org/core

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Henning Hraban Ramm via ntg-context
and technology was part of the corporate identity (there were some but by the time context showed up most large publishers started outsourcing to far-far-away and those interested in technologies left), at least not one that invest beyond a specific product and even then falling back on tools like tex

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Hans Hagen via ntg-context
a specific product and even then falling back on tools like tex is a last resort ... do publisheres even have departments that do some kind of resaearch at all? i admire those working at publishers who were willing to take the risk (we dealt with some) but mergers, buyouts by crooky strip-down

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 4:56 PM, juh via ntg-context wrote: Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: educational tip: \starttext \startluacode context("%M",1234567.89) context.par() context("%m",1234567.89) \stopluacode \stoptext Nice, so I can use that instead:

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 5:15 PM, juh via ntg-context wrote: Am Fri, Nov 12, 2021 at 04:56:51PM +0100 schrieb juh via ntg-context: Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: educational tip: \starttext \startluacode context("%M",1234567.89) context.par()

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Am Fri, Nov 12, 2021 at 04:56:51PM +0100 schrieb juh via ntg-context: > Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: > > educational tip: > > > > \starttext > > > > \startluacode > > context("%M",1234567.89) > > context.par() > > context("%m",1234567.89) > >

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: > educational tip: > > \starttext > > \startluacode > context("%M",1234567.89) > context.par() > context("%m",1234567.89) > \stopluacode > > \stoptext Nice, so I can use that instead: \startcell[align=flushright] @ "0.2M

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Am Fri, Nov 12, 2021 at 02:33:45PM +0100 schrieb Wolfgang Schuster: > Not without a complete minimal example. Sorry, of course. \usemodule[spreadsheet] \setupspreadsheet [ period={,}, comma={.}, split=yes, ] \startspreadsheettable[test][frame=off]

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 2:27 PM, juh via ntg-context wrote: Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. educational tip: \starttext \startluacode context("%M",1234567.89)

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 12.11.2021 um 14:27: Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. The drawback is that I can't use a normal period and comma in the normal text.

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. The drawback is that I can't use a normal period and comma in the normal text. Any hints? juh signature.asc Description: PGP signature

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
tation to > > make my invoices. > > > > While it is simple to calculate the sum or the product of two cells if > > you know that they are A[2] and B[2] I can't find the solution to access > > cell A and B *on the same row*. > > > > Amount | Single | Sum

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 12.11.2021 um 12:20: Dear all, I thought I could find my way through the spreadsheet documentation to make my invoices. While it is simple to calculate the sum or the product of two cells if you know that they are A[2] and B[2] I can't find the solution to access

[NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Dear all, I thought I could find my way through the spreadsheet documentation to make my invoices. While it is simple to calculate the sum or the product of two cells if you know that they are A[2] and B[2] I can't find the solution to access cell A and B *on the same row*. Amount | Single

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
. But that is not really a problem. And getting the part title somewhere more centred on its page is also left as an issue for later. Example file. In a project/component setup: everything before the \starttext goes into the environment file, the rest in the product file. %%% %%% Sections that have a LHS

Re: [NTG-context] Getting Textadept to open pdf?

2021-09-27 Thread jbf via ntg-context
Thanks, I reinstalled a later version of Textadept. I notice that it now opens the pdf product but in Xreader, the default on my machine, and that's no real problem, but now that I have got it working I can experiment a bit. Interesting, though, that the changes I made at your suggestion in l

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-18 Thread Denis Maier via ntg-context
. Obviously, these articles should rely on the same environment files. But how would you deal with those cases where you'd need a slightly different table layout in one article? > > I think that all this will end up in 20-30 environment files going from > general > things like

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-17 Thread Jan Ulrich Hasecke via ntg-context
ink that all this will end up in 20-30 environment files going from general things like colors, fonts, page sizes to more specific things like doubleside-headers-footers, singleside-headers-footers to product specific things like env-factsheet for things that are special to factsheets only. Here are some of my

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin product \startproduct[terminale-manual] \project[terminale-environment] \startdocument \startfrontmatter ... \stopfrontmatter \startbodymatter \component

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
because you can use the *component mode to check whether the parent file is a product or a component. begin product \startproduct [*] \environment [...] \startfrontmatter ... \stopfrontmatter \startbodymatter \component [...] \stopbodymatter \stopproduct end product begin

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-18 Thread Wolfgang Schuster
to fit your own style. 1. File names In the example all sub files (style + chapters) start with the name of the main file and append a sub name. Another popular naming scheme is to prefix the files with c_ (component), p_ (product) or s_ (style/environment). To avoid problems should also try

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-16 Thread Gerben Wierda
gt;>>> >>>> So, I tried teh old project to see if it still works, but found out it >>>> didn’t. There still is a texexec in my MacTeX, but the compilation fails: >>>> >>>> texexec --pdf --mode=SCREEN ../products/prd_book.tex >>>

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-15 Thread Gerben Wierda
ers | initialization | fatal error: kpse library is accessed >> (key: original) >> >> Is there a new ‘book’ project structure/template for the modern/standalone >> ConTeXt? > > The project struture with project/product/environment/components is still the

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-15 Thread Henning Hraban Ramm
c in my MacTeX, but the compilation fails: >>> >>> texexec --pdf --mode=SCREEN ../products/prd_book.tex >>> resolvers | initialization | fatal error: kpse library is accessed >>> (key: original) >>> >>> Is there a new ‘book’ project st

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-12 Thread Henning Hraban Ramm
for the modern/standalone > ConTeXt? The project struture with project/product/environment/components is still the same. "texexec" is MkII, you must call "context" for MkIV (with --luatex) and LMTX. You will p

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-16 Thread denis.maier
he component level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks. ~Jethro ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
> After playing with several solutions (delimiters, fences, radicals etc) > > I just settled for a few line extension to the engine (there was already > > plenty in place in luametatex for that anyway) and it seem to work ok. > > > > This \Umathadaptsize is a bit like

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Mikael Sundqvist
ne tuning if needed > (can also be dealt with at the macro end, as with other mechanisms, but > this is just a first test of useability). > > (I might also extend another mechanism to deal with it but putting > scripts on top or after is already handles pretty well by regular > mecha

[NTG-context] upload / some new math stuff

2021-06-10 Thread Hans Hagen
t this is just a first test of useability). (I might also extend another mechanism to deal with it but putting scripts on top or after is already handles pretty well by regular mechanisms, so ...) Of course only a few fonts provide these upright growing integrals (makes me wonder about summat

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread jethro Reuel
eed to specify > \environment env_notes > before It works at the component level? The wiki didn’t say that. Plus it is > already specified at the product level. Thanks. > > > ~Jethro > ___ > If

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread denis.maier
to specify \environment env_notes before It works at the component level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks. ~Jethro ___ If your question is of interest to others

[NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread mastermind_ x
://wiki.contextgarden.net/Project_structure My question is: Why do I need to specify \environment env_notes before It works at the component level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks

Re: [NTG-context] \setcharacterspacing

2021-05-18 Thread Alan Bowen
Hi, Wolgang— The mwe files in a product/component structure are attached. Everything works as desired with the current env file. If one comments out the startsetups...\stopsetups, the guillemets are not properly spaced in the body text, while those in the footnote are fine. If one comments out

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Wolfgang Schuster
Alan Bowen schrieb am 17.05.2021 um 21:50: That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Alan Bowen
That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr][setups=test] is in the component file

Re: [NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread Wolfgang Schuster
is structured by a project and a product file. Now I have run in some problems, I couldn’t solve with the garden and the archives of this and stackexchange’s list. But I’m sure that it is almost too simple for you experts. Let’s start with one. As intended, a new chapter starts on a right/odd page

[NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread rha17
Hi list, I typeset my first project with ConTeXt, a small booklet with some chapters, frontmatter, no headers, but pagenumbers in the middle of the footers. I use two environment files. The text is split into component TeX-files. All is structured by a project and a product file. Now I have

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Henning Hraban Ramm
me had a typo that I didn’t copy to the product... Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/lis

Re: [NTG-context] Writing to .tuc directly from Lua

2021-03-24 Thread Jairo A. del Rio
gt; > > -- For exposition only > > > > local function dofactorial(n) > > > > local function inner(c,m) > > > > if m<2 then return c end > > > > return inner(c*m, m-1) > > > > end > > > > return inner(1,n) > > > >

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
with my two volume proceedings.) I'd be grateful for suggestions. Best, Richard % testproject.tex -- LMTX 2021.03.02 \startproject testproject \product testproduct000 \product testproduct001 \stopproject % master000.tex -- LMTX 2021.03.02 \startproduct testproduct000 \project

Re: [NTG-context] Project Structure - inheritance rules for environments

2021-03-01 Thread Wolfgang Schuster
denis.ma...@ub.unibe.ch schrieb am 28.02.2021 um 23:09: Hi, I’m just having a look a project structure again. I am using the example given in the wiki: https://wiki.contextgarden.net/Project_structure, i.e., in my component I’m linking to the product, but not to the project. Now I

[NTG-context] Project Structure - inheritance rules for environments

2021-02-28 Thread denis.maier
Hi, I'm just having a look a project structure again. I am using the example given in the wiki: https://wiki.contextgarden.net/Project_structure, i.e., in my component I'm linking to the product, but not to the project. Now I was expecting that the component inherits the environment set

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Hans Hagen
for a real-world product, and even unreasonable to assume that for something like `context --help` given that no other commands are making a scene when printing help messages. So what does context --help show? Hans

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
> So it seems likely that there is something special going on with exactly your computer or your context installation. Still, I fail to see what this implies. In particular, I find it not the most professional to assume a dust-proof environment for a real-world product, and even unreasona

[NTG-context] figure library

2020-10-12 Thread Jörg Hagmann
reated. Could somebody tell me what's wrong (with me, most likely)? Details: mkiV and LMTX, MacOS and FreeBSD, recent ConTeXt installations. The xml file on ConTeXt Wiki: Organisation ConTeXt Wiki product pictures pi

Re: [NTG-context] More table questions

2020-09-22 Thread Denis Maier
product, I have to make some design decisions right at the beginning and I won't be able to make ad hoc adjustments. In tabulate you have several kinds of horizontal lines (\HL, \FL, \ML, \LL), but you need to set them and define their width individually. IMO the different line widths

Re: [NTG-context] More table questions

2020-09-22 Thread Henning Hraban Ramm
em unobtrusively. Depending on your product (black printing, CMYK printing, screen only) you can use light colors, but be aware that thin, rasterized lines look jagged, while you can e.g. use 100% cyan even in 0.25pt, if the resolution of the press (offset/digital) works with such thin lines. Also don

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
Willem FlammaSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Jan Willem Flamma schrieb am 03.09.2020 um 10:29:> Dear Julian,> > I use something similar using a main product file, an environment file > that contain the styling and several components t

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Henning Hraban Ramm
> Am 05.09.2020 um 03:35 schrieb jbf : > > (1) the author's names lined up vertically throughout the ToC, and That would require to typeset the ToC as a table/tabulate; I remember that was hard to do, and I can’t remember in which product I used it, so I can’t look it up. Maybe an

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
Jan Willem Flamma schrieb am 03.09.2020 um 10:29: Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several components that build up the frontmatter, the manual and the appendices. Below my setup where I start the roman

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
below! Might take me a while to digest, but I'll explore it carefully.JulianOn 3/9/20 6:29 pm, Jan Willem Flamma wrote:Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several components that build up the frontmatter, the

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
Thanks Jan, that is an extensive bit of work below! Might take me a while to digest, but I'll explore it carefully. Julian On 3/9/20 6:29 pm, Jan Willem Flamma wrote: Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several

  1   2   3   4   5   6   7   8   9   >